package cn.xfdzx.android.apps.shop.model;


import cn.xfdzx.android.apps.shop.bean.ConfirmBeen;
import cn.xfdzx.android.apps.shop.bean.GoodsUpStateBeen;
import cn.xfdzx.android.apps.shop.bean.ShopInGoodListBeen;
import cn.xfdzx.android.apps.shop.bean.ShopOrderListBeen;
import cn.xfdzx.android.apps.shop.bean.UpdateNumPriceBeen;
import cn.xfdzx.android.apps.shop.contract.ShopInGoodListContract;
import cn.xfdzx.android.apps.shop.contract.ShopInOrderListContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class ShopInOrderListModel implements ShopInOrderListContract.Model {


    @Override
    public Flowable<ConfirmBeen> confirm(String order_id) {
        return  RetrofitClient.getInstance().getApi().confirmShou(order_id);
    }

    @Override
    public Flowable<ShopOrderListBeen> initData(String status, String keyWord, String page, String limit) {
        return RetrofitClient.getInstance().getApi().shopInOrderList(status,keyWord,page,limit);
    }

}
